home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global g1erSprLoc, gNumSpr, gBoutons
- set gNumSpr to g1erSprLoc + 14
- gBoutons(appuie, gNumSpr)
- end
-
- on mouseUp
- global g1erSprLoc, gBoutons, gNumSpr
- curseur(1)
- if gNumSpr = (g1erSprLoc + 14) then
- MouseClick()
- gBoutons(relache, gNumSpr)
- else
- pass()
- end if
- end
-
- on MouseClick
- global g1erSprLoc, gMaxBoutons, gEtudAct, g1erSprChr
- set gEtudAct to " "
- puppetSound(0)
- set the visible of sprite 2 to 0
- repeat with i = g1erSprLoc + 14 to gMaxBoutons
- set the visible of sprite i to 0
- end repeat
- repeat with i = g1erSprChr to g1erSprLoc + 10
- set the visible of sprite i to 1
- end repeat
- JukeBox(0, " ")
- end
-